<?php

namespace app\mogo\validate;
use think\Validate;
class Comments extends Validate
{
    //定义验证规则
    protected $rule = [
        'content|内容' => 'require',
        //'object_guid|主体唯一guid'  => 'require',

    ];

    //定义验证提示
    protected $message = [
        'name.regex' => '行为标识由字母和下划线组成',
    ];
}
